package com.zr.planClass.model.legalandperson;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * Created by 非常狂躁的猪 on 2019/12/24.
 */
@Data
public class LegalPlan {
    private int id;
    private String legalPlantCode;
    private String legalPlantDec;
    private Boolean enabled;
    private String enabledName;
    private LegalPerson legalPerson; //person这个没必要了,前端接受是单表
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    private String createName;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    private String updateName;

    private int legalPersonId;
    private String legalPersonName;
    private String legalPersonCode;
    private int    userId;

}
